YayMail\Controllers\TemplateController S

Total Complexity 33
Dependencies 3
Dependents 1
Total lines 317
Lines of code 274
Logical lines of code 76
Comment lines 3
Methods 22
Properties 1

Methods 22

Method Rating Maintainability Complexity Lines of code
init_hooks()
A
36 1 125
copy_template()
S
57 6 15
get_template_by_name()
S
54 3 24
reset_templates()
S
53 3 24
change_status()
S
60 3 13
update_template()
S
59 1 15
exec_get_all_shortcodes_by_template()
S
78 1 3
get_all_elements()
S
73 1 5
exec_get_all_elements_by_template()
S
78 1 3
exec_copy_template()
S
78 1 3
exec_reset_templates()
S
78 1 3
__construct()
S
77 1 4
exec_change_status()
S
78 1 3
exec_get_template_by_name()
S
78 1 3
delete_template()
S
72 1 5
exec_delete_template()
S
78 1 3
exec_update_template()
S
78 1 3
get_template_by_id()
S
73 1 5
exec_get_template_by_id()
S
78 1 3
get_all_templates()
S
75 1 4
exec_get_all_templates()
S
78 1 3
get_all_shortcodes()
S
72 1 5